x86/build: restrict contents of asm-offsets.h when !HVM / !PV
authorJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:13:18 +0000 (13:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:13:18 +0000 (13:13 +0100)
commitb1c014aa93bd48d7111271ce2dd1b892d98a92fd
treeb2930cb1c6c66c037cb6c69fd2827e2baf67e5f3
parentbb4ef1507d2d6fca8b52cd645c94112ac7924f4c
x86/build: restrict contents of asm-offsets.h when !HVM / !PV

This file has a long dependencies list (through asm-offsets.[cs]) and a
long list of dependents. IOW if any of the former changes, all of the
latter will be rebuilt, even if there's no actual change to the
generated file. Therefore avoid producing symbols we don't actually
need, depending on configuration.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/x86_64/asm-offsets.c